import request from '@/utils/request';

// 保存速运行李
export async function expressTransportationSave(data) {
  return request('/luggage/expressTransportation/save', {
    method: 'post',
    data,
  })
}

// PC端获取事故单完整详情
export async function getPkgAccidentDetail(params) {
  return request('/luggage/pkg/getPkgAccidentDetail', {
    method: 'get',
    params,
  })
}

// 多收行李转速运
export async function turnToExpressTransportation(data) {
  return request('/luggage/pkg/overcharge/turnToExpressTransportation', {
    method: 'post',
    data,
  })
}

// 新增速运行李判重
export async function judgePkgNo(params) {
  return request('/luggage/expressTransportation/judgePkgNo', {
    method: 'get',
    params,
  })
}
